
class Parent {
    public int a=99;
    public void func() {
        System.out.println("父类成员方法被调用了！！！");
    }
}
class Son extends Parent{
    public int a=1;
    public void func() {
        System.out.println("子类成员方法被调用了！！！");
    }
    public void test() {
        func();
        this.func();
        super.func();
    }

}

public class Test2 {
    public static void main(String[] args) {
        Son son = new Son();
        son.test();
    }
}
